package com.chinda.modules.sys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.chinda.common.page.RPage;
import com.chinda.modules.sys.qo.SysLogQO;
import com.chinda.modules.sys.dao.SysLogDao;
import com.chinda.modules.sys.entity.SysLogEntity;
import com.chinda.modules.sys.service.SysLogService;


/**
 * 系统日志
 *
 * @author chinda
 * @date 2021-06-19 22:02:32
 */
@Service("sysLogService")
@Transactional(readOnly = true, rollbackFor = Exception.class)
public class SysLogServiceImpl extends ServiceImpl<SysLogDao, SysLogEntity> implements SysLogService {

    /**
     * 获取分页信息
     *
     * @param qo
     * @return
     */
    @Override
    public RPage page(SysLogQO qo) {
        return new RPage(page(qo.getPage(), qo.getQueryWrapper()));
    }

}